package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 项目分组
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "work_group")
public class WorkGroup implements Serializable {
    @TableId(value = "group_no", type = IdType.INPUT)
    private Integer groupNo;

    /**
     * 分组名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}